home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / update~4.z / update~4 / gkernel_README < prev    next >
Encoding:
Text File  |  1989-09-06  |  6.6 KB  |  172 lines

  1. Here is the new/improved Gcc compilable kernel:
  2. Thanks to Howard Johnson, Frans Meulenbroeks, and Eric Smith for
  3. their contributions.
  4.  
  5. ++ applied ers's fixes of 03/03/89 (ALT key for middle mouse + fix in stmouse)
  6. ++ applied hcj's fixes of 03/12/89 (Rs232 fixups + patch in kernel/stdmp)
  7. ++ applied frans fixes of 03/15/89 (stsia patches + minor cleanups)
  8. ++ applied poole fixes of 03/14/89 (FS patches, see FSCHANGES.DOC)
  9.    (Thanks to Simon Poole for his FS patches, great stuff!!)
  10. ++ added dale schumakers  font hack to stfnt.c
  11. ++ added bruce szablaks cursor inhibit hacks to stvdu.c
  12. ++ added Ronald Lamprechts eff. hacks, thanks ronald. See ron_changes
  13.    for details.
  14. ++ added autowrap in kernel/stvdu.c. if you do not want this feature
  15.    then turn it off by define'ing NO_AUTOWRAP in h/const.h or on
  16.    the command line.
  17. ++ as per all the discussions on the net, in fs/buf.h took out
  18.    all the unnecessary WRITE_IMMED
  19. ++ in fs/cache.c: write all dirty blocks to a device when any one
  20.    needs to be flushed
  21. ++ in fs/cache.c incorporated elevator algorithm for flushing dirty
  22.    blocks to a device. NOTE: in fs/misc.c:do_sync(): did not add
  23.    code for elevator algorithm as that happens relatively rarely, and
  24.    is probably not worth the code overhead.
  25.    (now thinking about readahead, anyone have some good ideas??)
  26. ++ code cleanup all over the place. may multibit shifts replaced
  27.    by shift/mask, where the shift happens outside a loop, or
  28.    only once per loop etc. (still more to do here).
  29. ++ almost all the features/fixes from the upcoming minix-ST V1.4
  30.    update incorporated. Note: that there are some mis-features
  31.    (IMHO) in V1.4,  that i filtered out and did'nt adopt (namely
  32.    the new tty interface, which is very extremely severly brain damaged,
  33.    and some other minor details).
  34. ++ added a few fixes for hcj rs232.c (that i had forgotten to do so earlier)
  35.    files effected: rstty.c, rs232.c, tty.c and h/sgtty.h. 
  36.    copy h/sgtty.h to $INCLUDE after the patch.
  37.  
  38.     - check config in h/const.h (also look over h/com.h
  39.     fs/table.c and kernel/table.c)
  40.     - tailor Makefiles in kernel/ fs/ and mm/
  41.     - make kernel/kernel.mix, fs/fs.mix, mm/mm.mix,
  42.       sttools/fsck.mix sttools/init.mix using Gcc V1.33 or V1.34
  43.     - make build and bootblock with Ack cc
  44.     - then do the build .... to make minix.img (or just
  45.       hit make in sttools after the above steps)
  46.     - please use fsck.c in util/fsck when using gcc to
  47.       compile fsck. same goes for format.c (for WANTFORMAT)
  48.  
  49.     -The following pre-processor symbols control features:
  50.         WANT_HCJ_RS232 - include H. Johnsons rs232 driver
  51.         WANT_HCJ_MIDI  -  "        "         midi   "
  52.         WANT_FHM_RS232 -  include Frans Meulenbroeks rs232 driver
  53.         
  54.     You cannot have both WANT_HCJ_RS232 and WANT_FHM_RS232
  55.  
  56.     #define WANTSCREEN if you want Eric Smiths screen driver
  57.     #define WANTMOUSE               "     "     mouse driver
  58.     #define CLOCKS     if you want the code for disk controller
  59.                based clocks (bms/supra etc). This support
  60.                is now via ioctl(). Previously we had a bms
  61.                device.
  62.     #define WANTTAPE    if you want Howard Johnsons Scsi Tape driver
  63.     #define WANTNEWFLOP if you want Howard Chu's floppy patches
  64.     #define WANTFORMAT  if you want to format floppies
  65.     #define WANTPTRACE  if you want the ptrace/mdb support
  66.     #define WANTLOCAL   if you want Howard Johnsons local support
  67.  
  68.     Now you can have any combination of drivers.
  69.     Please CAREFULLY read fs/table.c to find out
  70.     about major device #'s, when using a particular
  71.     combination of #define WANT_XXX's.
  72.     Please take equal care when adding devices
  73.     (in particular see
  74.           fs/table.c, kernel/table.c, h/const.h and h/com.h)    
  75.  
  76.     - Simon pooles kbd stuff can be controlled with #ifdef COMPAT
  77.     - #define SUPRA if you want the SUPRA patch for kernel/stwini.c
  78.     - KERNEL is always #define'ed when compiling any component of the kernel.
  79.     - define NO_POOLE_FS is you do *not* want the Simon Poole fs patches.
  80.         (see FSCHANGES.DOC for what they are).
  81.  
  82.     - Things that are *not* tested at all by me:
  83.         midi, clocks, tape, supra, format, local
  84.         will appreciate any feedback on these.
  85.         Of course i have not tested all combinations of the
  86.         others. See various Makefiles for the ones that i have.
  87.     - See note about stfloppy in kernel/README.
  88.  
  89.     
  90.             Table of Major Device Numbers
  91.  
  92.                /* 0 = not used  */
  93.   MEM          /* 1 = /dev/mem  */    /* WANTSCREEN is 1,4 = /dev/screen */
  94.   FLOPPY,      /* 2 = /dev/fd0  */
  95.   WINCHESTER,  /* 3 = /dev/hd0  */
  96.   TTY,         /* 4 = /dev/tty0 */    /* WANT_FHM_RS232 is 4,1 = /dev/tty1 */
  97.   TTY,         /* 5 = /dev/tty  */
  98.   PRINTER      /* 6 = /dev/lp   */
  99.  
  100.  !WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  101.     /* no more entries */
  102.  !WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  103.  MIDI    /* 7 = /dev/midi */
  104.  
  105.  !WANTTAPE && !WANTMOUSE &&  WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  106.  RS232    /* 7 = /dev/tty1 */
  107.  
  108.  !WANTTAPE && !WANTMOUSE &&  WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  109.  RS232    /* 7 = /dev/tty1 */
  110.  MIDI    /* 8 = /dev/midi */
  111.  
  112.  !WANTTAPE &&  WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  113.  MOUSE     /* 7 = /dev/mouse */
  114.  
  115.  !WANTTAPE &&  WANTMOUSE && !WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  116.  MIDI    /* 7 = /dev/midi */
  117.  MOUSE  /* 8 = /dev/mouse */
  118.  
  119.  !WANTTAPE &&  WANTMOUSE &&  WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  120.  RS232    /* 7 = /dev/tty1 */
  121.  MOUSE  /* 8 = /dev/mouse */
  122.  
  123.  !WANTTAPE &&  WANTMOUSE &&  WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  124.  RS232    /* 7 = /dev/tty1 */
  125.  MIDI    /* 8 = /dev/midi */
  126.  MOUSE  /* 9 = /dev/mouse */
  127.  
  128.  WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  129.  TAPE   /* 7 = /dev/tape */
  130.  
  131.  WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  132.  MIDI    /* 7 = /dev/midi */
  133.  TAPE   /* 8 = /dev/tape */
  134.  
  135.  WANTTAPE && !WANTMOUSE &&  WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  136.  RS232    /* 7 = /dev/tty1 */
  137.  TAPE   /* 8 = /dev/tape */
  138.  
  139.  WANTTAPE && !WANTMOUSE &&  WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  140.  RS232    /* 7 = /dev/tty1 */
  141.  MIDI    /* 8 = /dev/midi */
  142.  TAPE   /* 9 = /dev/tape */
  143.  
  144.  WANTTAPE &&  WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  145.  TAPE   /* 7 = /dev/tape */
  146.  MOUSE  /* 8 = /dev/mouse */
  147.  
  148.  WANTTAPE &&  WANTMOUSE && !WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  149.  MIDI    /* 7 = /dev/midi */
  150.  TAPE   /* 8 = /dev/tape */
  151.  MOUSE  /* 9 = /dev/mouse */
  152.  
  153.  WANTTAPE &&  WANTMOUSE &&  WANT_HCJ_RS232 && !WANT_HCJ_MIDI
  154.  RS232    /* 7 = /dev/tty1 */
  155.  TAPE   /* 8 = /dev/tape */
  156.  MOUSE  /* 9 = /dev/mouse */
  157.  
  158.  WANTTAPE &&  WANTMOUSE &&  WANT_HCJ_RS232 &&  WANT_HCJ_MIDI
  159.  RS232    /* 7 = /dev/tty1 */
  160.  MIDI    /* 8 = /dev/midi */
  161.  TAPE   /* 9 = /dev/tape */
  162.  MOUSE  /* 10 = /dev/mouse */
  163.  
  164.  
  165. Your feedback will be much appreciated,
  166.                         enjoy,
  167. usenet: {decvax,sun}!cwjcc!dsrgsun!bammi    jwahar r. bammi
  168. csnet:       bammi@dsrgsun.ces.CWRU.edu
  169. arpa:        bammi@dsrgsun.ces.CWRU.edu
  170. compuServe:  71515,155
  171.  
  172.